<!DOCTYPE html>
<html>

	<head>

		<script type="text/javascript" src="../../js/public/init.js"></script>
		<script type="text/javascript" src="../../js/public/jquery.min.js"></script>
		<script type="text/javascript" src="../../js/public/jquery.easyui.min.js"></script>

		<!-- This is the Javascript file of jqGrid -->
		<script type="text/ecmascript" src="../../js/public/jquery.jqGrid.min.js"></script>
		<!-- This is the localization file of the grid controlling messages, labels, etc.
    	<!-- We support more than 40 localizations -->
		<script type="text/ecmascript" src="../../js/public/grid.locale-en.js"></script>
		<script type="text/ecmascript" src="../../js/public/easyui-lang-zh_CN.js"></script>
		<!-- A link to a jQuery UI ThemeRoller theme, more than 22 built-in and many more custom -->
		<meta charset="utf-8" />
		<title>探针信息管理</title>
		<script src="../../js/public/IP.js"></script>
		<script src="../../js/devicemanage/probeParam.js"></script>
	</head>

	<body class="easyui-layout" style="min-width: 1120px;">
		<div data-options="region:'north'" style="height:230px;">
			<div class="easyui-panel" title="探针信息" style="margin-bottom:5px" data-options="tools:'#save'">
				<form method="post" id="deviceEdit" style="padding-left:2%;">
					<input type="hidden" name="id" id="id">
					<table style="width:95%;margin-top:5px;">
						<tr>
							<td>设备名称</span>
							</td>
							<td>
								<input type="text" class="easyui-textbox" data-options="required:true" name="deviceName" id="deviceName" />
							</td>
							<td>设备类型</td>
							<td>
								<input id="type" />
							</td>
							<td>设备编码</td>
							<td>
								<input type="tex" class="easyui-textbox" data-options="required:true" name="deviceid" id="deviceid" />
							</td>
							<td>备注</td>
							<td>
								<input type="text" class="easyui-textbox" name="memo" id="memo" />
							</td>

						</tr>
						<tr>
							<td>客户名称</td>
							<td>
								<input type="text" class="easyui-textbox" data-options="required:true" name="customerName" id="customerName" />
							</td>
							<td>客户电话</td>
							<td>
								<input type="text" class="easyui-textbox" data-options="required:true" name="customerTel" id="customerTel" />
							</td>
							<td>客户经理</td>
							<td>
								<input type="text" class="easyui-textbox" data-options="required:true" name="customerManager" id="customerManager" />
							</td>
							<td>客户经理电话</td>
							<td>
								<input type="text" class="easyui-textbox" data-options="required:true" name="customerManagerTel" id="customerManagerTel" />
							</td>

						</tr>
						<tr>

							<td>地区</td>
							<td>
								<input type="text" class="easyui-textbox" data-options="required:true" name="prefecture" id="prefecture" />
							</td>
							<td>县市</td>
							<td>
								<input id="city" />
							</td>
							<td>小区</td>
							<td>
								<input class="easyui-textbox" name="community" id="community" />
							</td>
							<td>安装地址</td>
							<td>
								<input type="text" class="easyui-textbox" data-options="required:true" name="install" id="install" />
							</td>

						</tr>
						<tr>
							<td>wifi名称</td>
							<td>
								<input type="text" class="easyui-textbox" name="wifiName" id="wifiName" />
							</td>
							<td>wifi密码</td>
							<td>
								<input type="password" class="easyui-textbox" name="wifiPwd" id="wifiPwd" />
							</td>
							<td>网络类型</td>
							<td>
								<input id="netType" />
							</td>
							<td>端口号</td>
							<td>
								<input class="easyui-textbox" readonly name="port" id="port" />
							</td>

						</tr>
						<tr>
							<td>IP地址</td>
							<td>
								<input type="text" class="easyui-textbox" readonly name="ip" id="ip" />
							</td>
							<td>BIAS</td>
							<td>
								<input class="easyui-textbox" name="bias" id="bias" />
							</td>

							<td>ONU</td>
							<td>
								<input type="text" class="easyui-textbox" name="onu" id="onu" />
							</td>
							<td>OLT</td>
							<td>
								<input type="text" class="easyui-textbox" name="olt" id="olt" />
							</td>

						</tr>
						<tr>
							<td>纬度</td>
							<td>
								<input type="text" class="easyui-textbox" name="latitude" id="latitude" />
							</td>
							<td>经度</td>
							<td>
								<input type="text" class="easyui-textbox" name="longitude" id="longitude" />
							</td>
							<td>操作者</td>
							<td>
								<input type="text" class="easyui-textbox" name="operator" id="operator" />
							</td>

							<td>AC</td>
							<td>
								<input type="text" class="easyui-textbox" name="ac" id="ac" />
							</td>

						</tr>
						<tr>
							<td>新增时间</td>
							<td>
								<input class="easyui-textbox" 　disabled="true" readonly name="newTime" id="newTime" />
							</td>
							<td>信息更新时间</td>
							<td>
								<input class="easyui-textbox" readonly name="updateTime" id="updateTime" />
							</td>
							<td>最后一次心跳</td>
							<td>
								<input class="easyui-textbox" readonly name="lastHeartbeat" id="lastHeartbeat" />
							</td>
							<td>设备状态</td>
							<td>
								<input type="text" class="easyui-textbox" readonly id="deviceStatus" name="deviceStatus" />
							</td>
						</tr>

					</table>
				</form>
			</div>
			<!--探针详情-->
			<div id="save">
				<a href="javascript:void(0)" class="icon-save" onclick="javascript:SaveRow()"></a>
			</div>
		</div>
		<div data-options="region:'center'">
			<div class="easyui-panel" title="探针详情列表" fit="true" data-options="tools:'#tt'">
				<table id="jqGrid"></table>
				<div id="jqGridPager"></div>
			</div>
			<div style="width:300px; position: absolute;right:11.5%;top:10px;z-index: 10001;">
				<span style="margin-right:21%;margin-top:4px;float:left;">隐藏列设置</span><input id="cc" style="width:172px" />
			</div>
			<div id="tt">
				<div id="sp">
					<div style="padding:10px;overflow:auto;height:300px">
						<input type="checkbox" value="deviceName"><span>设备名称</span><br/>

						<input type="checkbox" value="deviceid"><span>设备编码</span><br/>
						<input type="checkbox" value="city"><span>县市</span><br/>
						<input type="checkbox" value="community" checked="checked"><span>小区</span><br/>
						<input type="checkbox" value="customerName"><span>客户名称</span><br/>

						<input type="checkbox" value="customerTel"><span>客户电话</span><br/>
						<input type="checkbox" value="customerManager"><span>客户经理</span><br/>
						<input type="checkbox" value="customerManagerTel"><span>客户经理电话</span><br/>
						<input type="checkbox" value="operater"><span>操作者</span><br/>

						<input type="checkbox" value="netType"><span>网络类型</span><br/>
						<input type="checkbox" value="ip"><span>IP</span>IP<br/>
						<input type="checkbox" value="install"><span>安装地址</span><br/>

						<input type="checkbox" value="type"><span>设备类型</span><br/>
						<input type="checkbox" value="deviceStatus"><span>设备状态</span><br/>
						<input type="checkbox" value="ac" checked="checked"><span>AC</span><br/>

						<input type="checkbox" value="wifiName" checked="checked"><span>wifi名字</span><br/>
						<input type="checkbox" value="wifiPwd" checked="checked"><span>wifi密码</span><br/>
						<input type="checkbox" value="port"><span>端口</span><br/>
						<input type="checkbox" value="onu" checked="checked"><span>onu</span><br/>

						<input type="checkbox" value="olt" checked="checked"><span>olt</span><br/>
						<input type="checkbox" value="bias" checked="checked"><span>BIAS</span><br/>
						<input type="checkbox" value="lastHeartbeat"><span>最后一次心跳</span><br/>
						<input type="checkbox" value="longitude" checked="checked"><span>经度</span><br/>

						<input type="checkbox" value="latitude" checked="checked"><span>纬度</span><br/>
						<input type="checkbox" value="newTime"><span>新增时间</span><br/>
						<input type="checkbox" value="updateTime"><span>更新时间</span><br/>
						<input type="checkbox" value="meno"><span>备注</span>
					</div>
				</div>
				<a href="javascript:void(0)" class="icon-add" onclick="javascript:AddRow()"></a>
				<a href="javascript:void(0)" class="icon-edit" onclick="javascript:EditRow()"></a>
				<a href="javascript:void(0)" class="icon-cut" onclick="javascript:DeleteRow()"></a>
			</div>
		</div>
	</body>

</html>